package com.example.leon.demo.Activity;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.Fragment;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import android.widget.Toast;

import com.example.leon.demo.R;

@SuppressLint("NewApi")
public class MainTab01 extends Fragment
{
	private TextView tabsone;
	private View mOneView;


	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
	{
		mOneView=inflater.inflate(com.example.leon.demo.R.layout.main_tab_01, container, false);

		initData(mOneView);

		return mOneView;
	}



	public void initData(View mOneView) {

		
		tabsone=(TextView) mOneView.findViewById(R.id.tabsone);



		tabsone.setText("asdfasdf");


	}





}
